#!/bin/bash

#php /var/www/src/bin/hyperf.php start
# 设置 umask
umask 000
# 创建并设置上传目录权限
mkdir -p /opt/www/runtime/uploads
chmod -R 777 /opt/www/runtime/uploads
# 执行原始的 entrypoint 或传入的命令
exec "$@"